<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: TanRenLong
  Date: 2021/11/5
  Time: 11:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<select name="uid" id="uid">
    <c:if test="${not empty list}">
        <c:forEach items="${list}" var="user">
            <option value="${user.uid}">${user.username}</option>
        </c:forEach>
    </c:if>
</select>
</body>
</html>
